﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Zatify.Domain.Data
{
    public enum MessageStatus
    {
        New = 1,
        Read = 2,
        Replied = 3
    }

    public partial class Message
    {
        public static string GetMessageStatus(MessageStatus messageStatus)
        {
            switch (messageStatus)
            {
                case MessageStatus.New:
                    return "New";
                case MessageStatus.Read:
                    return "Read";
                case MessageStatus.Replied:
                    return "Replied";
                default:
                    return String.Empty;
            }
        }
    }
}
